package com.jfok.server.controller;


import java.util.List;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.jfok.server.service.PayoutService;
import com.jfok.shared.TreeNodeRecord;

@Controller
@RequestMapping("/modulepayout")
public class PayoutController {

	@Resource
	private PayoutService payoutService;

	

	@RequestMapping("/getmodulepayoutinfo.do")
	public @ResponseBody
	List<TreeNodeRecord> genAllModuleAuditingInfo(HttpServletRequest request) {
		return payoutService.genAllModulePayoutInfo(request);
	}

}
